/*取消自动填充文本框背景颜色*/
input:-internal-autofill-selected,
input:-internal-autofill-previewed {
	background: #fff;
	transition: background-color 1000s ease-out 0.5s;
}

* {
	outline: none;
}

div[data-v-app] {
	height: 100%;
	position: relative;
	overflow: hidden;
}

div.vxe-dynamics[data-v-app] {
	height: initial;
	position: absolute;
}

.border-none {
	border: none !important;
	box-shadow: none !important;
}

.margin-none {
	margin: 0 !important;
}

.padding-none {
	padding: 0 !important;
}

.display-flex {
	display: flex !important;
}

.display-none {
	display: none !important;
}

.text-left {
	text-align: right;
}

.text-right {
	text-align: right;
}

.text-center {
	text-align: right;
}

.vertical-text {
	writing-mode: vertical-lr;
}

.cursor-pointer {
	cursor: pointer;
}

.container {
	height: 100%;
	position: relative;
}

.ant-descriptions-blockquote {
	.ant-descriptions-title {
		font-size: 14px;
		line-height: 16px;
		padding-left: 10px;
		border-left: 2px solid @primary-color;
	}
}

.status-toolbar {
	label {
		height: 24px;
		line-height: 24px;
		font-size: 12px;
		font-weight: normal;
		border-radius: 2px;
		border: none !important;
		background: rgba(0, 0, 0, 0.04);

		&:before {
			content: none;
		}

		&.ant-radio-button-wrapper-checked > span > span {
			color: inherit !important;
		}
	}

	.ant-divider {
		top: 0;
		height: 24px;
		margin: 0;
		vertical-align: top;
	}
}

.ant-empty.house-empty {
	width: 100%;
	height: 100%;
	//min-height: 300px;
	display: flex;
	margin: 0;
	background: #fff;
	flex-direction: column;
	justify-content: center;
}

.custom-radio-group {
	display: block;

	label.ant-radio-button-wrapper {
		height: auto;
		padding: 10px 12px;
		line-height: initial;
		border-radius: 0 !important;

		&.ant-radio-button-wrapper-checked {
			background: #f0f8ff;

			&:after {
				content: '';
				right: 6px;
				bottom: 6px;
				position: absolute;
				border-top: 5px solid transparent;
				border-left: 5px solid transparent;
				border-right: 5px solid @primary-color;
				border-bottom: 5px solid @primary-color;
			}
		}
	}
}

.table-selected-wrapper.vxe-toolbar.is--perfect {
	top: 5px;
	right: 0;
	left: 40px;
	z-index: 9;
	border: none;
	position: absolute;
	padding-right: 16px;
}

.table-dropdown-overlay {
	min-width: 80px !important;

	.ant-dropdown-menu-title-content {
		text-align: center;
	}
}

.nav-card-container {
	height: 100%;
	display: flex;
	flex-direction: column;

	.ant-card-head {
		padding: 0;
		min-height: 40px;
		border-color: transparent;

		.ant-tabs-ink-bar {
			display: none;
		}
	}

	.ant-tabs-nav {
		margin: 0;
		background: @border-color-light;
		border-left: 1px solid @border-color-light;

		.ant-tabs-tab {
			padding: 8px 16px;
			margin-left: 0;
			font-size: 14px;

			&.ant-tabs-tab-active {
				background: #fff;
			}
		}

		.ant-tabs-extra-content {
			padding-right: 8px;
		}
	}

	.ant-tabs-content {
		height: 100%;
	}

	.ant-card-body {
		flex: 1;
		padding: 0;
		display: flex;
		min-height: 0;
		margin-top: -1px;
		flex-direction: column;
	}
}

.dialog-card-container.ant-tabs-card,
.dialog-card-container > .ant-card-head > .ant-card-head-tabs {
	height: 100%;

	> .ant-tabs-nav {
		height: 56px;
		margin-bottom: 0;
		background: #f5f7fa;
		border-radius: 2px 2px 0 0;

		.ant-tabs-ink-bar {
			display: none;
		}

		.ant-tabs-tab {
			padding: 16px;
			font-size: 16px;
			background: transparent;

			&:not(.ant-tabs-tab-active) {
				border-color: transparent;
			}

			&.ant-tabs-tab-active {
				border-radius: 0;
				background: #fff;
				border-left: 1px solid @border-color-light;
				border-right: 1px solid @border-color-light;
				border-top-color: transparent;

				&:first-child {
					border-radius: 2px 0 0 0;
					border-left-color: transparent;
				}
			}

			& + .ant-tabs-tab {
				margin-left: 0;
			}
		}

		.ant-tabs-extra-content {
			padding-right: 16px;
		}
	}

	> .ant-tabs-content-holder {
		height: 100%;

		> .ant-tabs-content {
			height: 100%;

			> .ant-tabs-tabpane {
				height: 100%;
				overflow: auto;
				padding: 20px 16px;
			}
		}
	}
}

.align-justify-center {
	justify-content: center;
	align-items: center;
}

.detail-form {
	.ant-form-item {
		margin-bottom: 1em;

		&:last-child {
			margin-bottom: 0;
		}
	}

	.ant-form-item-label > label {
		color: @text-color-secondary;
		height: 20px;
		line-height: 20px;
		font-weight: normal;
	}

	.ant-form-item-control-input {
		min-height: 20px;
		line-height: 20px;
	}
}
